package com.dd.machine.main.HardwareUtils;

import com.dd.machine.main.Interface.HardwareInterface;

/**
 * Created by LZX on 2017/8/1.
 */

public class RotateUtils {
    private HardwareInterface hardwareInterface;

    public RotateUtils(HardwareInterface hardwareInterface) {
        this.hardwareInterface = hardwareInterface;
    }

    public void setRotate(String direction){
        hardwareInterface.rotate(direction);
    }
}
